﻿@inherits Vowei.Web.G18nWebViewPage<Vowei.Core.Models.ExceptionPeriod>
@using Vowei.Core.Models

@{
    ViewBag.Title = Model.Type == WorkingTimeType.Working ? T("加班详情") : T("请假详情");
}

<fieldset>
    <legend>@ViewBag.Title</legend>
    
    <div class="display-label">@T(model => model.Start)</div>
    <div class="display-field">@String.Format("{0:g}", Model.Start)</div>

    <div class="display-label">@T(model => model.Finish)</div>
    <div class="display-field">@String.Format("{0:g}", Model.Finish)</div>

    <div class="display-label">@T(model => model.Duration)</div>
    <div class="display-field">@Model.Duration</div>

    <div class="display-label">@T(model => model.Description)</div>
    <div class="display-field">@Model.Description</div>

    <div class="display-label">@T(model => model.OpenDate)</div>
    <div class="display-field">@String.Format("{0:g}", Model.OpenDate)</div>

    <div class="display-label">@T(model => model.LastModified)</div>
    <div class="display-field">@String.Format("{0:g}", Model.LastModified)</div>
</fieldset>

